package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 广电用户对象 guangdian_user
 * 
 * @author ruoyi
 * @date 2024-05-22
 */
public class GuangDianUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 用户地址编号 */
    @Excel(name = "用户地址编号")
    private String terminalNo;

    /** 用户编号 */
    @Excel(name = "用户编号")
    private String phoneNo;

    /** 品牌名称 */
    @Excel(name = "品牌名称")
    private String smName;

    /** 状态名称 */
    @Excel(name = "状态名称")
    private String runName;

    /** 品牌编号 */
    @Excel(name = "品牌编号")
    private String smCode;

    /** 用户等级名称 */
    @Excel(name = "用户等级名称")
    private String ownerName;

    /** 用户等级编号 */
    @Excel(name = "用户等级编号")
    private String ownerCode;

    /** 状态变更时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "状态变更时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date runTime;

    /** 完整地址 */
    @Excel(name = "完整地址")
    private String address;

    /** 街道或小区地址 */
    @Excel(name = "街道或小区地址")
    private String estateName;

    /** 开户时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开户时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date openTime;

    /** 宽带是否生效 */
    @Excel(name = "宽带是否生效")
    private String force;

    /** 是否为重度用户 */
    @Excel(name = "是否为重度用户", dictType = "guangdian_heavy_user")
    private String isHeavyUser;

    /** 电视消费水平 */
    @Excel(name = "电视消费水平", dictType = "guangdian_tv_consumption")
    private String tvConsumptionLevel;

    /** 宽带消费水平 */
    @Excel(name = "宽带消费水平", dictType = "guangdian_broadband_consumption")
    private String broadbandConsumptionLevel;

    /** 用户是否忠诚 */
    @Excel(name = "用户是否忠诚", dictType = "guangdian_loyal_user")
    private String isLoyalUser;

    /** 业务品牌 */
    @Excel(name = "业务品牌", dictType = "guangdian_service_brand")
    private String serviceBrand;

    /** 电视入网程度 */
    @Excel(name = "电视入网程度", dictType = "guangdian_tv_penetration")
    private String tvPenetration;

    /** 宽带入网程度 */
    @Excel(name = "宽带入网程度", dictType = "guangdian_broadband_penetration")
    private String broadbandPenetration;

    /** 用户类型 */
    @Excel(name = "用户类型", dictType = "guangdian_user_type")
    private String userType;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setTerminalNo(String terminalNo)
    {
        this.terminalNo = terminalNo;
    }

    public String getTerminalNo()
    {
        return terminalNo;
    }
    public void setPhoneNo(String phoneNo)
    {
        this.phoneNo = phoneNo;
    }

    public String getPhoneNo()
    {
        return phoneNo;
    }
    public void setSmName(String smName)
    {
        this.smName = smName;
    }

    public String getSmName()
    {
        return smName;
    }
    public void setRunName(String runName)
    {
        this.runName = runName;
    }

    public String getRunName()
    {
        return runName;
    }
    public void setSmCode(String smCode)
    {
        this.smCode = smCode;
    }

    public String getSmCode()
    {
        return smCode;
    }
    public void setOwnerName(String ownerName)
    {
        this.ownerName = ownerName;
    }

    public String getOwnerName()
    {
        return ownerName;
    }
    public void setOwnerCode(String ownerCode)
    {
        this.ownerCode = ownerCode;
    }

    public String getOwnerCode()
    {
        return ownerCode;
    }
    public void setRunTime(Date runTime)
    {
        this.runTime = runTime;
    }

    public Date getRunTime()
    {
        return runTime;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setEstateName(String estateName)
    {
        this.estateName = estateName;
    }

    public String getEstateName()
    {
        return estateName;
    }
    public void setOpenTime(Date openTime)
    {
        this.openTime = openTime;
    }

    public Date getOpenTime()
    {
        return openTime;
    }
    public void setForce(String force)
    {
        this.force = force;
    }

    public String getForce()
    {
        return force;
    }
    public void setIsHeavyUser(String isHeavyUser)
    {
        this.isHeavyUser = isHeavyUser;
    }

    public String getIsHeavyUser()
    {
        return isHeavyUser;
    }
    public void setTvConsumptionLevel(String tvConsumptionLevel)
    {
        this.tvConsumptionLevel = tvConsumptionLevel;
    }

    public String getTvConsumptionLevel()
    {
        return tvConsumptionLevel;
    }
    public void setBroadbandConsumptionLevel(String broadbandConsumptionLevel)
    {
        this.broadbandConsumptionLevel = broadbandConsumptionLevel;
    }

    public String getBroadbandConsumptionLevel()
    {
        return broadbandConsumptionLevel;
    }
    public void setIsLoyalUser(String isLoyalUser)
    {
        this.isLoyalUser = isLoyalUser;
    }

    public String getIsLoyalUser()
    {
        return isLoyalUser;
    }
    public void setServiceBrand(String serviceBrand)
    {
        this.serviceBrand = serviceBrand;
    }

    public String getServiceBrand()
    {
        return serviceBrand;
    }
    public void setTvPenetration(String tvPenetration)
    {
        this.tvPenetration = tvPenetration;
    }

    public String getTvPenetration()
    {
        return tvPenetration;
    }
    public void setBroadbandPenetration(String broadbandPenetration)
    {
        this.broadbandPenetration = broadbandPenetration;
    }

    public String getBroadbandPenetration()
    {
        return broadbandPenetration;
    }
    public void setUserType(String userType)
    {
        this.userType = userType;
    }

    public String getUserType()
    {
        return userType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("terminalNo", getTerminalNo())
            .append("phoneNo", getPhoneNo())
            .append("smName", getSmName())
            .append("runName", getRunName())
            .append("smCode", getSmCode())
            .append("ownerName", getOwnerName())
            .append("ownerCode", getOwnerCode())
            .append("runTime", getRunTime())
            .append("address", getAddress())
            .append("estateName", getEstateName())
            .append("openTime", getOpenTime())
            .append("force", getForce())
            .append("isHeavyUser", getIsHeavyUser())
            .append("tvConsumptionLevel", getTvConsumptionLevel())
            .append("broadbandConsumptionLevel", getBroadbandConsumptionLevel())
            .append("isLoyalUser", getIsLoyalUser())
            .append("serviceBrand", getServiceBrand())
            .append("tvPenetration", getTvPenetration())
            .append("broadbandPenetration", getBroadbandPenetration())
            .append("userType", getUserType())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}